
prLoaded.then(function() {

    var $post = $(".tweet-detail");

    var userName = $post.find("a.tweet-portrait").attr("title");

    if (blockerConfig.blockedUsers.indexOf(userName.toLowerCase()) > -1) {

        $post.find(".tweet_text").html(
            blockerConfig.blockedTips
        );

        if (blockerConfig.blockedTweetImages) {

            $post.find(".multi-image").html(
                "<strong>***Images were blocked.***</strong>"
            );
        }
    }

    var href = false;

    setInterval(function() {

        if (href !== window.location.search) {

            href = window.location.search;
        }

        var $replies = $(".tweet-reply-item");

        $replies.each(function() {

            var userName = $(this).find("a.replay-user").attr("title");

            if (blockerConfig.blockedUsers.indexOf(
                userName.toLowerCase()
            ) > -1) {

                $(this).find(".replay-content").html(
                    blockerConfig.blockedTips
                );
            }
        });

    }, 50);
});
